package com.itheima.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "emp")
public class Emp {
    @Id
    @KeySql(useGeneratedKeys = true) //开启自增主键回显功能
    private Integer id;
    private String username;
    private String password;
    private Integer sal;
    private Date shijian;


}
